1
2
3
4
2
3
4
on:hit {
	$damage=hit_damage("self");
	msg "damage:$damage";
}
The code works fine but when I use weapons that give me additional damage just like that:
1
2
3
4
5
2
3
4
5
on:impact {
		$tmp=impact_class();
		$tmp2=impact_id();
		damage $tmp,$tmp2,10;
}
Can anyone help me?
Hit_damage script doesn't give the correct value
1 
Offline