Corsaire Lv.19
Age : 27 Inscrit le : 26/11/2009 Messages : 2508
| Sujet: Re: Aide de script (appel aux scripteurs) Sam 23 Oct 2010 - 13:00 | |
| Kk J'ai fait ce que tu as dit ca marche bien mais quand j'utilise mon attaque on me renvoie un erreur (que je comprend pas) à la ligne 58 de se script (autre skill plus compliqué) - Code:
-
=begin
Eternal Slashes Addon 1.0 for RPG Tankentai Sideview Battle System Script by: Zeoxis
=end
module N01 ES_ID = 106 TRANSFORM_IMAGE = "$Actor29" USER_IMAGE = "$Actor29"
RANGED_ANIME = { "START_ANIM" => ["m_a", 80, 4, 0, 500, 0, 0, 0, 0,true,""], "JUMP_UP" => [ 0, 0, -180, 15, 0, 0, "WAIT(FIXED)"], "DIAG1_START" => [ 0, 500, 0, 1, 0, 0, "WAIT(FIXED)"], "DIAG1" => [ 0, -500, 500, 15, 0, 0, "WAIT(FIXED)"], "DIAG2_START" => [ 0, 0, -500, 1, 0, 0, "WAIT(FIXED)"], "DIAG2" => [ 0, 500, 500, 15, 0, 0, "WAIT(FIXED)"], "DIAG3" => [ 0, -500, -500, 15, 0, 0, "WAIT(FIXED)"], "HORI1_START" => [ 0, 0, 250, 1, 0, 0, "WAIT(FIXED)"], "HORI1" => [ 0, 500, 0, 15, 0, 0, "WAIT(FIXED)"], "DIAG3_START" => [ 0, 0, 250, 1, 0, 0, "WAIT(FIXED)"], "DIAG4" => [ 0, 500, -500, 15, 0, 0, "WAIT(FIXED)"], "TRANSFORM" => ["change", false, TRANSFORM_IMAGE], "REVERT" => ["change", false, USER_IMAGE], "wind1" => ["sound", "se", 100, 130, "wind1"], "D1_ANIM" => ["m_a", 87, 0, 0, 500, 0, 0, 0, 1,true,""], "D2_ANIM" => ["m_a", 88, 0, 0, 500, 0, 0, 0, 1,true,""], "D3_ANIM" => ["m_a", 90, 0, 0, 500, 0, 0, 0, 1,true,""], "D4_ANIM" => ["m_a", 89, 0, 0, 500, 0, 0, 0, 1,true,""], "H1_ANIM" => ["m_a", 85, 0, 0, 500, 0, 0, 0, 1,true,""], } ANIME.merge!(RANGED_ANIME) # Action Sequence RANGED_ATTACK_ACTION = { "ETERNAL_SLASHES" => ["Afterimage ON","BEFORE_MOVE","WPN_RAISED","START_ANIM","200", "SKILL_POSE","80","TRANSFORM","SKILL_POSE","wind1","10","JUMP_UP","30","OBJ_ANIM","D1_ANIM","DIAG1","60", "DIAG2_START","D2_ANIM","OBJ_ANIM","DIAG2","60", "D3_ANIM","OBJ_ANIM","DIAG3","60", "HORI1_START","H1_ANIM","OBJ_ANIM","HORI1","DIAG3_START","30", "D3_ANIM","OBJ_ANIM","DIAG3","30","D1_ANIM","OBJ_ANIM","DIAG1","30", "D4_ANIM","OBJ_ANIM","DIAG4","DIAG1_START","D1_ANIM","OBJ_ANIM","DIAG1","DIAG2_START", "D2_ANIM","OBJ_ANIM","DIAG2","D3_ANIM","OBJ_ANIM","DIAG3","HORI1_START","H1_ANIM","OBJ_ANIM","HORI1","DIAG3_START","D3_ANIM","OBJ_ANIM","DIAG3", "D1_ANIM","OBJ_ANIM","DIAG1", "D4_ANIM","OBJ_ANIM","DIAG4","wind1","COORD_RESET","Afterimage OFF","REVERT","Can Collapse"]} ACTION.merge!(RANGED_ATTACK_ACTION) end
module RPG class Skill alias zeo_es_base_action base_action def base_action case @id when (N01::ES_ID) return "ETERNAL_SLASHES" end zeo_es_base_action end end end |
|