View Single Post
  #5  
Old 07-24-2010, 07:13 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

still looking into this...is there a way to check

(again, not a coder...but just flowing this out)

Code:
if {rule_value_player_buff_restriction == True
   if {spell_type == buff (but need to exclude illusion)
     if {spell_level() > target_player_level + (target_player_level / 2)
            abort_spell()
            send_message_too_low_for_buff()
            return
     }
  }
}
with this you would need a few items in the database:
rule_value - something to indicate this is checked or not
new_spells - new column to indicate spell level
new_spells - something to indicate that the spell is used for buff exclusion
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote