Skip to content
Browse files

[Fix] Dement Duration

Currently dement uses the fixed duration found in 
.\kod\object\passive\sickness\disease\dementia.kod

DEMENTIA_DURATION=600000 (10 mins).

This will fix the duration set by the spell.
  • Loading branch information...
1 parent 0c35cbb commit f72571f2c712b36fa64bc40596f008f3cff7d58f @tsShergill tsShergill committed Oct 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 kod/object/passive/spell/dement.kod
View
2 kod/object/passive/spell/dement.kod
@@ -129,7 +129,7 @@ messages:
}
Send(oDementia,@MakeSick,#who=oTarget,#iAmount=(iSpellPower/3+1),
- #duration=send(self,@GetDuration,#iSpellPower=iSpellPower));
+ #iDuration=send(self,@GetDuration,#iSpellPower=iSpellPower));
propagate;
}

0 comments on commit f72571f

Please sign in to comment.
Something went wrong with that request. Please try again.