View Single Post
Old 01.08.2006, 08:38   #3
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

fix1:
Code:
            $line[$n] = str_replace("{i_fatal_blow;".$matches[1][0].";".$matches[2][0].";".$matches[3][0]."}", "{i_p_attack_over_hit;".$matches[1][0]."}", $line[$n]);     
            unset($matches); 
         }
this effect exist in c1

i_fatal_blow
-------- [s_deadly_blow12] ------- {i_fatal_blow;1107;200}


fix2:
all summons no required to fix, because npcnames must be same as in npcdata. Copy 1:1 without item consume param.

C4:
effect = {{i_summon;[cat_the_cat_a];70;[crystal_d];0}}
C1:
effect = {{i_summon;[cat_the_cat_a];70}}

fix3:
Code:
$line[$n] = str_replace($matches[1][0]."{op_energy_max;".$matches[2][0]."}".$matches[3][0], "", $line[$n]);
need make same as
Code:
            $line[$n] = str_replace("operate_cond={{op_unlock}}", "item_consume={[key_of_thief];1}", $line[$n]);
C4 "op_energy_max" = C1 "operate_cond = {energy_saved;2}}"

fix4:may do this
"p_pvp_physical_skill_dmg_bonus" can change to "p_critical_damage"
"p_pvp_physical_attack_dmg_bonus" can change to "p_critical_damage"

fix5:
p_2h_sword_bonus same "{{p_physical_attack;{dualfist};40;diff};};{p_hit; {dualfist};2;diff}}
p_2h_blunt_bonus same 'dualfist' to 'blunt'


fix6:
effect "i_install_camp" exist in C1
-------- [s_building_headquarter] --------- {{i_install_camp}} operate_cond = {{build_camp}}

fix7:
This
str_replace("{p_max_cp;".$matches[1][0].";".$matches[2][0]."}", "{p_max_hp;".
bug. If you mean CP as HP, why you dont fix another skills with CP? p_max_cp example.

fix8:
i_death ? maybe make "i_hp;-10000;diff"?

fix9:
{i_target_cancel} can change to {{i_dispel_all}}
HF is offline