Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > King's Bounty > King's Bounty: Armored Princess > Mods

Mods Armored Princess mods

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #16  
Old 03-16-2010, 08:21 PM
saroumana saroumana is offline
Approved Member
 
Join Date: Jan 2010
Posts: 87
Default

If you use posthitmaster, it will be used for every attack of this unit.

In your unit, you should have :

gladiatorbreath {
class=scripted
script_attack=special_gladiatorbreath_attack
script_calccells=calccells_all_enemy
hinthead=ig_gladiator_breath_head
hint=ig_gladiator_breath_hint
reload=4
dontusenearenemy=1
up=0
friendly_fire=1
base_attack=0
ad_factor=1
picture=ba1_doublestrike_
picture_small=ba1_doublestrike_small.png
options=disablerush,used_if_damaged
anim_attack=special
damage {
physical=41,60
fire=30,50
}
custom_params {
burn=70
shock=50
nomiss=1
}
}

And now you must create special_gladiatorbreath_attack. inside it, for burning, you'll use that :


local target = Attack.get_target()
local burn_rnd=tonumber(Attack.get_custom_param("burn"))
if burn_rnd<=burn then
effect_burn_attack(target,1,3,nil,0)
end

After you'll may be have to apply damage to the unit.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:07 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.