kamas¶
Donne les kamas portés par le personnage, hors banque.
Signature¶
character:kamas()
Retour¶
Un nombre entier ; 0 si l’information est inconnue.
Exemple¶
local surplus = character:kamas() - 10000
if surplus > 0 then exchange:addKamas(surplus) end