level 1
遗_忘_LH_
楼主
T:事件:任意单位施放技能条件:某有动作:漂浮文字-创建漂浮文字:(本地字串符:((施放技能))的名称在触发单位头顶Z轴0.00处,字体大小20, 颜色值:(100%,100%,100%),透明度33% 设置(最后创建的漂浮文字):禁用 永久显示 设置(最后创建的漂浮文字)的移动速率为225.00,方向为(转换随机整数,最大值75,最小值15为)实数)度 设置(最后创建的漂浮文字)的生命周期为1.33秒 设置(最后创建的漂浮文字)的消逝事件点为2.00秒J:function Trig_JiNeng_Actions takes nothing returns nothing call CreateTextTagUnitBJ( GetLocalizedString(GetAbilityName(GetSpellAbilityId())), GetTriggerUnit(), 0, 20.00, 100, 100, 100, 33.00 ) call SetTextTagPermanent( GetLastCreatedTextTag(), false ) call SetTextTagVelocityBJ( GetLastCreatedTextTag(), 225.00, I2R(GetRandomInt(75, 15)) ) call SetTextTagLifespan( GetLastCreatedTextTag(), 1.33 ) call SetTextTagFadepoint( GetLastCreatedTextTag(), 2.00 )endfunction//===========================================================================function InitTrig_JiNeng takes nothing returns nothing set gg_trg_JiNeng = CreateTrigger( ) call TriggerRegisterAnyUnitEventBJ( gg_trg_JiNeng, EVENT_PLAYER_UNIT_SPELL_CAST ) call TriggerAddAction( gg_trg_JiNeng, function Trig_JiNeng_Actions )endfunction偷懒的就用J咯,正在研究血...
2008年06月22日 00点06分
1