SphereCommunity
Enticement problem with actdiff - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Enticement problem with actdiff (/Thread-Enticement-problem-with-actdiff)



Enticement problem with actdiff - Rizz - 11-05-2014 11:30 AM

I was looking to recode all of enticement but i discovered that actdiff doesn't work: 1 or 10000 the skill will never fail

Code:
[SKILL 15]
DEFNAME=Skill_Enticement
KEY=Enticement
TITLE=Bard
PROMPT_MSG=@,,2 500873
DELAY=6.0
STAT_STR=0
STAT_INT=0
STAT_DEX=0
BONUS_STR=0
BONUS_DEX=30
BONUS_INT=70
BONUS_STATS=0
ADV_RATE=3.0,30.0,200.0

ON=@PreStart

IF (<region.safe>==1)
    sysmessage @,3,1 You can not do anything in a safe zone!
    return 1
ENDIF



ON=@Fail
SRC.MESSAGE @,,2 500883
serv.b fail

ON=@SUCCESS
src.SYSMESSAGE @,,2 1049539
serv.b success

ON=@Start
serv.b actdiff <actdiff>
actdiff=100000
serv.b actdiff <actdiff>

return 0


Tried with r2056 and r2089


RE: Enticement problem with actdiff - darksun84 - 11-05-2014 08:39 PM

Did you try with gm off ?


RE: Enticement problem with actdiff - Rizz - 11-05-2014 11:04 PM

I should stop to code until 3 am and go to sleep instead.


RE: Enticement problem with actdiff - darksun84 - 11-06-2014 12:28 AM

ahhhhhhhhhhhhhhhh Big Grin