View Single Post
Old 07.08.2007, 18:17   #1
gammexane
Архивный участник
 
Join Date: Aug 2007
Posts: 13
Default [HELP] - New custom GM skill

Dear Folks:

Currently in our server we are sending to jail characters that don't follow the rules, but there are some minor comitted crimes for which the jail time is between 1 hour and 3 days.
For this particular cases it is bothering having to remember every hour to remove these characters from jail, this is why I thought of creating a fosilization skill with the following code, since the command //char_stop does not work correctly (but I am new doing this):

Code:
skill_begin	
      skill_name = [s_user_penalty]	/* [Effects on punished users ] */	
      skill_id = xxxx	
      level = 1	
      operate_type = A2	
      magic_level = 90	
      effect = {{p_block_act};{p_block_getdamage;block_hp};{p_block_getdamage;block_mp};{p_block_buff};{p_block_debuff}}	
      is_magic = 0	
      mp_consume2 = 0	
      cast_range = -1	
      effective_range = -1	
      skill_hit_time = 0	
      skill_cool_time = 0	
      skill_hit_cancel_time = 0	
      reuse_delay = 0	
      activate_rate = 100	
      lv_bonus_rate = 1	
      basic_property = wit	
      abnormal_time = 3600	
      abnormal_lv = 80	
      abnormal_type = turn_stone	
      attribute = attr_derangement	
      effect_point = -10	
      target_type = target	
      affect_scope = single	
      affect_limit = {0;0}	
      next_action = none	
      abnormal_visual_effect = ave_flesh_stone	
      debuff = 1
      ride_state = {@ride_none}	
skill_end
My doubts/concerns would be:

1) Can I make the skill duration time variable somehow or should I create different skills with different duration times?
2) In case of an error how could I cure this skill?
3) Is it possible to cancel trading and/or chatting by using something in "effect" or should I create a macro to execute the skill, stopsay and else?

Thanks in advance.

/*Edit:
2) I could use //dispelall .

note: I didn't delete the question because maybe someone has the same doubt.
*/
gammexane is offline