From 19cd07ea66674ad9f8f7557e46c6337c6057f234 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 18 Apr 2021 04:59:19 -0300 Subject: Force confringo to never deal less than INT damage. With randomness. --- npc/magic/level0-wand.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'npc/magic') diff --git a/npc/magic/level0-wand.txt b/npc/magic/level0-wand.txt index 744d1653..d1990607 100644 --- a/npc/magic/level0-wand.txt +++ b/npc/magic/level0-wand.txt @@ -11,6 +11,9 @@ function script SK_Confringo { // Effective magic code .@PW=30+(7*@skillLv); .@dmg=AdjustSpellpower(.@PW); + // Noobs adjustment + if (.@dmg < readparam(bInt)) + .@dmg=rand2(.@dmg, readparam(bInt)); harm(@skillTarget, .@dmg, HARM_MAGI, Ele_Neutral); return; } -- cgit v1.2.3-70-g09d2