Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- internal void dmg_skill(
- ref int skill_dmg, ref int weapon_dmg, ref int actor_dmg, ref int support_dmg,
- Data_Weapon weapon, bool magic, int? distance, WeaponTriangle tri)
- {
- int target_def = 0;
- dmg_skill(ref skill_dmg, ref weapon_dmg, ref actor_dmg, ref support_dmg,
- ref target_def, weapon, null, null, magic, distance, tri);
- }
- internal void dmg_skill(
- ref int skill_dmg, ref int weapon_dmg, ref int actor_dmg, ref int support_dmg,
- ref int target_def, Data_Weapon weapon,
- Game_Unit target, Data_Weapon target_weapon, bool magic, int? distance, WeaponTriangle tri, int effectiveness = 1)
- {
- int damage_ratio = actor_dmg / 5;
- Skills: Triange Adept
- if (actor.has_skill("TRIANGLEPLUS"))
- if (tri == WeaponTriangle.Advantage)
- weapon_dmg += damage_ratio;
- else if (tri == WeaponTriangle.Disadvantage)
- weapon_dmg -= damage_ratio;
- }
Advertisement
Add Comment
Please, Sign In to add comment