EOSERV Bug Tracker > Bug #204: 'if' and 'else' don't work on quests

Bug #204: 'if' and 'else' don't work on quests

'if' and 'else' don't work on quests
ID #204
Submitter Ryouken
Product EOSERV
Severity Normal
Status CLOSED, INVALID
Submitted 15th Dec 2012
Updated 24th Mar 2013
Ryouken Submitter 11 years, 20 weeks ago

'if' and 'else' don't seem to actually check the rules, they just do whatever action is behind them regardless of the rule being true or false.

Comments

Apollo 11 years, 20 weeks ago

This is a duplicate of a previous entry. It seems if/else only work in place of rules when a stat value is checked.

Ryouken Submitter 11 years, 20 weeks ago

Ah, sorry about that I wish the bug list were more organized so I don't overlook stuff so easily. Thats kindof odd though o.o seeing as the stat checks are in the same function "CheckRule".

Sausage Developer 11 years, 9 weeks ago

Can you give an example of the rule are you attempting to check? if/else conditions seem to work fine in this example, only doing one action, and the correct one based on gender:

http://tehsausage.com/paste/4528

Ryouken Submitter 11 years, 9 weeks ago

I was using them wrong, I just realized they're only checked upon activation of the state. How dumb of me ;.;

Sausage Developer 11 years, 6 weeks ago

Updated Status to CLOSED, INVALID

Add Comment

Please don't post unless you have something relevant to the bug to say.
Do not comment to say "thanks" or "fix this please".

Please log in to add comments. EOSERV Bug Tracker > Bug #204: 'if' and 'else' don't work on quests