Skip to content

Commit

Permalink
Improved ranged units fightng behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
hwoarangmy committed Sep 22, 2015
1 parent a81ac67 commit 2820ced
Show file tree
Hide file tree
Showing 9 changed files with 429 additions and 284 deletions.
9 changes: 8 additions & 1 deletion config/equipments.cfg
Expand Up @@ -11,6 +11,7 @@
# Range Range
# PhysicalDefense Physical defense
# MagicalDefense Magical defense
# RangeMesh (can be "none") Mesh + particle effect script that will be created when the creature uses a range attack with this weapon

[EquipmentDefinitions]
[Equipment]
Expand All @@ -22,6 +23,7 @@
Range 1
PhysicalDefense 0
MagicalDefense 0
RangeMesh none none
[/Stats]
[/Equipment]
[Equipment]
Expand All @@ -33,6 +35,7 @@
Range 1
PhysicalDefense 0
MagicalDefense 0
RangeMesh none none
[/Stats]
[/Equipment]
[Equipment]
Expand All @@ -44,6 +47,7 @@
Range 1
PhysicalDefense 0.2
MagicalDefense 0
RangeMesh none none
[/Stats]
[/Equipment]
[Equipment]
Expand All @@ -55,6 +59,7 @@
Range 1
PhysicalDefense 1
MagicalDefense 0
RangeMesh none none
[/Stats]
[/Equipment]
[Equipment]
Expand All @@ -63,9 +68,10 @@
MeshName Staff.mesh
PhysicalDamage 0
MagicalDamage 2
Range 6
Range 1
PhysicalDefense 1
MagicalDefense 2
RangeMesh none none
[/Stats]
[/Equipment]
[Equipment]
Expand All @@ -77,6 +83,7 @@
Range 1
PhysicalDefense 0.5
MagicalDefense 0
RangeMesh none none
[/Stats]
[/Equipment]
[/EquipmentDefinitions]
19 changes: 13 additions & 6 deletions levels/skirmish/TestSingleplayerSmall.level
Expand Up @@ -587,9 +587,9 @@ ProtectDungeonTemple NULL
19 13 1 0
19 15 1 0 1
19 16 1 0 1
19 17 1 0 1
19 18 1 0 1
19 19 1 0 1
19 17 5 0
19 18 5 0
19 19 5 0
19 24 2 100
19 25 2 100
19 30 1 0 2
Expand All @@ -601,7 +601,7 @@ ProtectDungeonTemple NULL
20 13 1 0
20 15 1 0 1
20 16 1 0 1
20 17 1 0 1
20 17 5 0
20 18 1 0 1
20 19 1 0 1
20 24 2 100
Expand Down Expand Up @@ -1362,8 +1362,8 @@ DwarfWorker 1
MeshScaleY 0.8
MeshScaleZ 0.8
BedMeshName DragonBed
BedDimX 2
BedDimY 2
BedDim 1 1
BedPos 1 1 0 -1
MinHP 50
HP/Level 10
Heal/Turn 0.5
Expand Down Expand Up @@ -1391,11 +1391,17 @@ DwarfWorker 1
MagicalDef/Level 0
AttackRange 1
AtkRange/Level 0
PhyAtkRan 0
PhyAtkRan/Level 0
MagAtkRan 0
MagAtkRan/Level 0
RangeMesh none none
AttackWarmupTime 1.5
WeakCoef 0
FeeBase 0
FeePerLevel 0
SleepHeal 1
TurnsStunDropped 0
WeaponSpawnL none
WeaponSpawnL none
SoundFamilyPickup Default/Pickup
Expand Down Expand Up @@ -1433,6 +1439,7 @@ DwarfWorker 1
Range 10
PhysicalDefense 1
MagicalDefense 0
RangeMesh Cannonball MissileMagic
[/Stats]
[/Equipment]
[/EquipmentDefinitions]
Expand Down

0 comments on commit 2820ced

Please sign in to comment.