item bonus at night?

Louis T Steinhil

New member
Messages
172
Points
0
Age
35
Discord
Louis T Steinhil#8600
Emulator
Hercules
Is it possible that a function checks if it is night then an additional bonus on an item will trigger?

if(night == 1){ move speed + 20%};
something like that... just a pseudo code*

 
oh thank you for the reply, but is it possible to incorporate that syntax inside the item script or maybe will use a function?

 
oh thank you for the reply, but is it possible to incorporate that syntax inside the item script or maybe will use a function?
Yes, it is possible; give it a try. If you need a more elaborate script to run, you might wanna use a callfunc after the expression is found true.

 
Back
Top