Replaces some macros.

This commit is contained in:
Zuhayr
2014-12-08 10:34:36 +10:30
parent dfca49c900
commit b556609e27

View File

@@ -177,17 +177,17 @@
del(W) //gotta delete it here because if window breaks, it won't get deleted del(W) //gotta delete it here because if window breaks, it won't get deleted
switch (state) switch (state)
if(1) if(1)
M.visible_message("\red [user] slams [M] against \the [src]!") M.visible_message("<span class='warning'>[user] slams [M] against \the [src]!</span>")
M.apply_damage(7) M.apply_damage(7)
hit(10) hit(10)
if(2) if(2)
M.visible_message("\red <b>[user] bashes [M] against \the [src]!</b>") M.visible_message("<span class='danger'>[user] bashes [M] against \the [src]!</span>")
if (prob(50)) if (prob(50))
M.Weaken(1) M.Weaken(1)
M.apply_damage(10) M.apply_damage(10)
hit(25) hit(25)
if(3) if(3)
M.visible_message("\red <big><b>[user] crushes [M] against \the [src]!</b></big>") M.visible_message("<span class='danger'><big>[user] crushes [M] against \the [src]!</big></span>")
M.Weaken(5) M.Weaken(5)
M.apply_damage(20) M.apply_damage(20)
hit(50) hit(50)