mob
verb
Attack()
set category="Combat"
for(var/mob/E in get_step(usr,usr.dir))
if(E.NPC==0)
usr.adddmg =4/ usr.Str
usr.adddmg += usr.dmg
E.HP-=usr.dmg
view()<<"[usr] attacks [E] for [usr.dmg] HP!
Problem description:
What I'm trying to do is
For every 4 Str you add 1dmg... I tried making a proc but I know my proc()is wrong just a bit confused on how to do this
so ditched that idea and just tried to add variables together during the damage calulation
(Tried with what I did above and I got no errors but it also does not calculate still just hits for my normal damage)
4/str = +1dmg? how do I add it to my usr.[str] <-- also another question should I be using src.[str] usr seems to be fine running multiplayer tests with friends our stats do keep to our selves was just making sure
(Not making a game or anything but still trying to learn this stuff via Testbed i made on dream maker, if theres any chance I could get a few peoples "Msn live" so I can ask questions that would be great I'm really a slow learner" ):)