User Tools

Site Tools


lua:dammessage

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
lua:dammessage [2017/06/13 16:34]
vodur
lua:dammessage [2019/02/15 20:27] (current)
aethyn
Line 8: Line 8:
 local dam=randnum(750,​1250) local dam=randnum(750,​1250)
 local sng,​pl,​pnct=dammessage(dam) local sng,​pl,​pnct=dammessage(dam)
-echoat(ch, "​%s'​s cannon %s you%s",​ +echoat(ch, ​string.format("​%s'​s cannon %s you%s",​ 
-    mob.shortdescr,​ pl, pnct)+    mob.shortdescr,​ pl, pnct))
 damage( ch, dam) damage( ch, dam)
 </​code>​ </​code>​
  
  
lua/dammessage.txt · Last modified: 2019/02/15 20:27 by aethyn