Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Game_Unit.cs
- // ~line 5153
- public bool is_matching_team(Game_Unit unit)
- {
- return (this.team == unit.team);
- }
- // Game_Unit_Skill.cs
- internal void hit_skill(ref int n, ref int weapon_hit, ref int actor_hit,
- Data_Weapon weapon, Game_Unit target, bool magic, WeaponTriangle tri, int? distance)
- {
- .
- .
- .
- // Skills: Prestige
- if (Global.scene.is_map_scene && !nihil(target) && !Global.game_map.is_off_map(Loc))
- foreach (int id in units_in_range(3))
- {
- Game_Unit unit = Global.game_map.units[id];
- if (unit.actor.has_skill("RALLY") && is_matching_team(unit))
- {
- n += 10;
- break;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment