Rizalgar Posted December 18, 2018 Share Posted December 18, 2018 I woke up at 3am wit this idea in my head. So here it is, if anyone was thinking of making the same kind of spell, this is tested and working 100%. I wanted to make a "Sun God" buff spell, that would give varying levels of buffs depending on certain conditions. Why some make believe Sun God? IDK, must have been some weird dream I had before I woke up. scn RizSunGodScript short sun begin scripteffectstart set sun to 0 if sun == 0 if player.IsInInterior set sun to 5 endif if GetCurrentTime > 18.00 set sun to 10 endif if GetCurrentTime < 6.00 set sun to 20 endif if GetCurrentTime > 6.00 && GetCurrentTime < 18.00 && IsInInterior == 0 set sun to 30 endif if getweather clear && GetCurrentTime > 6.00 && GetCurrentTime < 18.00 && IsInInterior == 0 set sun to 40 endif if getweather rain && getcurrenttime > 6.00 && getcurrenttime < 18.00 && IsInInterior == 0 set sun to 60 endif endif end begin scripteffectupdate if sun == 5 Message "The Sun God can't help you here!" set sun to 50 endif if sun == 10 message "The Sun God sleeps currently." set sun to 100 endif if sun == 20 message "The Sun God has yet to wake fully. His powers are still weak." player.addspell RizSunGodWeak set sun to 200 endif if sun == 30 Message "The Sun God shines with you!" player.addspell RizSunGod set sun to 300 endif if sun == 40 Message "The Sun God truly shines within you!" player.addspell RizSunGodStrong set sun to 400 endif if sun == 60 message "The Sun God is weakened by the rain." player.addspell RizSunGodWeak set sun to 600 endif end Begin scripteffectfinish player.removespell RizSunGod player.removespell RizSunGodWeak player.removespell rizsungodstrong end Get creative with it. This is really just a baseline of what you can do with it. Link to comment Share on other sites More sharing options...
Recommended Posts