mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 03:33:21 +00:00
Space carp and other critter balancing.
They're less likely to attack and move slower now.
This commit is contained in:
@@ -10,6 +10,8 @@
|
|||||||
alive = 1
|
alive = 1
|
||||||
health = 10
|
health = 10
|
||||||
max_health = 10
|
max_health = 10
|
||||||
|
aggression = 100
|
||||||
|
speed = 8
|
||||||
list/access_list = list()//accesses go here
|
list/access_list = list()//accesses go here
|
||||||
//AI things
|
//AI things
|
||||||
task = "thinking"
|
task = "thinking"
|
||||||
@@ -119,4 +121,4 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
src.target_lastloc = M.loc
|
src.target_lastloc = M.loc
|
||||||
else
|
else
|
||||||
var/turf/olddist = get_dist(src, src.target)
|
var/turf/olddist = get_dist(src, src.target)
|
||||||
walk_to(src, src.target,1,4)
|
walk_to(src, src.target,1,speed)
|
||||||
if ((get_dist(src, src.target)) >= (olddist))
|
if ((get_dist(src, src.target)) >= (olddist))
|
||||||
src.frustration++
|
src.frustration++
|
||||||
else
|
else
|
||||||
@@ -106,6 +106,8 @@
|
|||||||
|
|
||||||
|
|
||||||
seek_target()
|
seek_target()
|
||||||
|
if(!prob(aggression)) return // make them attack depending on aggression levels
|
||||||
|
|
||||||
src.anchored = 0
|
src.anchored = 0
|
||||||
var/T = null
|
var/T = null
|
||||||
for(var/mob/living/C in view(src.seekrange,src))//TODO: mess with this
|
for(var/mob/living/C in view(src.seekrange,src))//TODO: mess with this
|
||||||
@@ -198,4 +200,4 @@
|
|||||||
smoke.set_up(10, 0, src.loc)
|
smoke.set_up(10, 0, src.loc)
|
||||||
smoke.start()
|
smoke.start()
|
||||||
src.task = "thinking"
|
src.task = "thinking"
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -135,9 +135,10 @@
|
|||||||
name = "Spess Carp"
|
name = "Spess Carp"
|
||||||
desc = "A ferocious, fang-bearing creature that resembles a fish."
|
desc = "A ferocious, fang-bearing creature that resembles a fish."
|
||||||
icon_state = "spesscarp"
|
icon_state = "spesscarp"
|
||||||
health = 25
|
health = 100
|
||||||
max_health = 25
|
max_health = 100
|
||||||
aggressive = 1
|
aggressive = 1
|
||||||
|
aggression = 20
|
||||||
defensive = 1
|
defensive = 1
|
||||||
wanderer = 1
|
wanderer = 1
|
||||||
atkcarbon = 1
|
atkcarbon = 1
|
||||||
@@ -152,6 +153,7 @@
|
|||||||
attacktext = "bites"
|
attacktext = "bites"
|
||||||
attack_sound = 'bite.ogg'
|
attack_sound = 'bite.ogg'
|
||||||
attack_speed = 10
|
attack_speed = 10
|
||||||
|
speed = 8
|
||||||
var/stunchance = 10 // chance to tackle things down
|
var/stunchance = 10 // chance to tackle things down
|
||||||
|
|
||||||
|
|
||||||
@@ -185,8 +187,8 @@
|
|||||||
|
|
||||||
/obj/effect/critter/spesscarp/elite
|
/obj/effect/critter/spesscarp/elite
|
||||||
desc = "Oh shit, you're really fucked now. It has an evil gleam in its eye."
|
desc = "Oh shit, you're really fucked now. It has an evil gleam in its eye."
|
||||||
health = 50
|
health = 200
|
||||||
max_health = 50
|
max_health = 200
|
||||||
melee_damage_lower = 20
|
melee_damage_lower = 20
|
||||||
melee_damage_upper = 35
|
melee_damage_upper = 35
|
||||||
stunchance = 15
|
stunchance = 15
|
||||||
|
|||||||
1157
code/modules/mob/living/carbon/human/life.dm~
Normal file
1157
code/modules/mob/living/carbon/human/life.dm~
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user