New to L2J, former L2OFF developer

otsaki

Vagabond
Hello dear community,

I am very excited to contribute to the L2J community as a former L2OFF dev. I am learning the scripts and want to contribute, but since I have no source of the files, I have questions and doubts.


For example:

L2OFF
skill_begin skill_name=[s_hawk_spirit_totem1] /* [Hawk Spirit Totem] */ skill_id=425 level=1 operate_type=A2 magic_level=74 effect={{p_hit;{dualfist};6;diff};{p_critical_damage_by_weapon;{fist;dualfist};30;per};{p_critical_rate_by_weapon;{fist;dualfist};10;diff}} operate_cond={{equip_weapon;{dualfist}}} is_magic=0 mp_consume2=34 cast_range=-1 effective_range=-1 skill_hit_time=2 skill_cool_time=0 skill_hit_cancel_time=0.5 reuse_delay=300 activate_rate=-1 lv_bonus_rate=0 basic_property=none abnormal_time=120 abnormal_lv=1 abnormal_type=possession attribute=attr_none effect_point=268 target_type=self affect_scope=single affect_limit={0;0} next_action=none debuff=0 ride_state={@ride_none} skill_end


L2J
<skill id="425" levels="1" name="Hawk Spirit Totem">
<set name="weaponsAllowed" val="1024"/>
<set name="icon" val="icon.skill0425"/>
<set name="reuseDelay" val="300000"/>
<set name="magicLevel" val="74"/>
<set name="hitTime" val="2000"/>
<set name="hitCancelTime" val="500"/>
<set name="mpConsume2" val="34"/>
<set name="target" val="TARGET_SELF"/>
<set name="skillType" val="BUFF"/>
<set name="operateType" val="OP_ACTIVE"/>
<for>
<effect count="1" name="Buff" stackOrder="1" stackType="possession" time="120" val="0">
<add order="0x40" stat="baseCrit" val="100">
<using kind="Dual Fist"/>
</add>

<mul order="0x30" stat="cAtk" val="1.3">
<using kind="Dual Fist"/>
</mul>
<add order="0x40" stat="accCombat" val="6">
<using kind="Dual Fist"/>
</add>
</effect>
</for>
</skill>


I have to assume that #baseCrit is {p_critical_rate_by_weapon;{fist;dualfist};10;diff}

But my question is, why 100 and not 10?

Is this a mistake, or it should be like that. Thank you.
 
because in game client 50% = 500, that why. At datapack is direct percent, at game client * 10
 
Back
Top