![]() |
[Share] Baium Reborn
Well old AI for baium using superclass trick, is just crappy
baium were using fists, and almost everytime the same skill, and he wasnt aggroing under many conditions . I remade his AI, he now only use skills, no fists, most of time he use baium general attack. he should randomnly use his 5 skills, but ATM he only use baium normal hit, energy wave, and baium paralyse. AND, he is fukin regenning too fast, cant understand why. I DOn't GET /know why, code seems clean .... Anyway im sharing what i did, AI + sources If peeps who know AI can help me thks !! |
uploaded new version, i forgot baium npcdata
|
tnx i will test and see the code if we can make a better then.
|
Thx hami! good work!
|
What about the problem with people just kiteing him, and he never changes agro?
|
There is no cheks for Consume MP/HP and mainly no checks for SkillInReuseDelay....
|
Ifproblem is regeneration ... how about just setting a special pasive skill for baium in npcdata ?
Something like: p_hp_regen;(all);-80;per or something like this.... Then regeneration will no longer be a problem ;) |
hp on baium is not stable it ir restoring very fast :/
|
first thanks for the nice share...
but would you mind explaining me what the 9000 in: AddUseSkillDesire(creature, PhysicalSpecial, @ST_ATTACK, @AMT_MOVE_TO_TARGET, 9000); means? i guess its the damage to be dealt... about the too fast regenarating hp and all... why dont we just change the org_hp_regen and org_mp_regen settings? |
aha, hp_regen=5 any ideas?
|
I'll take a look into it this weekend.
Thanks for sharing! |
KTPSMF i got NO hp_regen=5 in my file...
you must err... |
hp_increase=40 mp_increase=7 org_hp_regen=5.5 org_mp_regen=x.x
|
may be it`s in percents? 5% from 1kk hp = 50000 hp/sek regen
|
1 question... anyone ever saw baium_npc use flame strike on retail?
If not: skill_list={@s_flame_strike3} to skill_list={} |
Quote:
|
Quote:
|
Tnx Hami !!! Realy a good work !!!
|
good work , working really greate with little ai fix
|
thanks for the explanation mayii :)
|
2 Hamidouch
Good work man, can i ask you, titanium set, is that c4 items? Can you share itemdata for items drops by baium? Sorry for my English |
Quote:
|
well but skill_list={} is only for passives skills
|
Quote:
|
lol hami
|
so on the 126 peeps who dled it noone fixed any feature?
usefull to share and ask for help seems :( |
point isn't the change in the random "engine", it's the same just done in a different way, but the myself.sm instead of attacker because the target_type is self in the skilldata of those skills; and the check for enough MP and HP should be there every time you use a skill.
Code:
EventHandler ATTACKED(attacker, damage, i0)Code:
EventHandler SEE_SPELL(speller, skill_name_id)this should slow down the regen speed to something "normal". Code:
npc_begin boss 12372 [baium] level=84 exp=2127179090 acquire_exp_rate=600 undying=0 can_be_attacked=1 acquire_sp=5600 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=50 item_make_list={} corpse_make_list={} additional_make_list={{[adena];100000000;200000000;100};{[adena];100000000;200000000;100};{[adena];100000000;200000000;100};{[adena];100000000;200000000;100};{[adena];100000000;200000000;100};{[hero_mobs_token];1;1;100};{[hero_mobs_token];1;1;100};{[hero_mobs_token];1;1;100};{[hero_mobs_token];1;1;100};{[hero_mobs_token];1;1;100};{[temple_barton];1;1;100};{[temple_staff];1;1;100};{[xp_scroll2];1;1;100};{[xp_scroll2];1;1;100};{[blessed_scroll_of_escape];10;15;100};{[God's_Blade*God's_Blade_haste];1;2;100};{[heavy_titanium_helmet];1;1;20};{[heavy_titanium_body];1;1;20};{[heavy_titanium_gloves];1;1;50};{[heavy_titanium_boots];1;1;50}} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=130 base_damage_range={0;0;540;580} base_rand_dam=10 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=12 mp_increase=7 org_hp_regen=5.5 org_mp_regen=2.7 ground_low={50;0;10} ground_high={140;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1200 org_hp=3000000 org_mp=24355 base_defend=4104 base_magic_attack=3859 base_magic_defend=2273 base_physical_attack=5148 physical_hit_modify=4.75 physical_avoid_modify=2.5 base_attack_speed=250 base_reuse_delay=0 base_critical=8 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=65 collision_height=174 category={} clan={@angel_clan} clan_help_range=450 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[baium]} corpse_time=30 no_sleep_mode=1 npc_end |
well i fixed all of those already, thks
so im gonna post where i am |
current problems:
no more regen problem, but he scream like if he [glow=red:1223a0a659]was dying each time he is hit[/glow:1223a0a659]. but his hp is normal. the rest is more o less fixed, he use skills on conditions, checks for mp hp added, some summoning skiller feature, some fstring feats u got to change etc.... current npcdata: Code:
npc_begin warrior 12372 [baium] level=84 exp=2127179090 acquire_exp_rate=300 undying=0 can_be_attacked=1 acquire_sp=8000 race=humanoid sex=male temper=100 safe_height=100 org_jump=15 skill_list={@s_full_magic_defence} magic_list={} max_item=50 item_make_list={} corpse_make_list={} additional_make_list={} additional_make_multi_list={} slot_chest=[] slot_rhand=[] slot_lhand=[] base_attack_type=fist base_can_penetrate=0 base_attack_range=120 base_damage_range={0;0;540;580} base_rand_dam=10 str=40 int=21 dex=30 wit=20 con=43 men=10 hp_increase=40 mp_increase=7 org_hp_regen=7.5 org_mp_regen=2.7 ground_low={80;0;10} ground_high={120;-30;30} underwater_low={50;0;10} underwater_high={0;0;30} fly_low={0;0;10} fly_high={0;-30;30} float_low={0;0;10} float_high={0;-30;30} org_earshot=100 sight={0;0;2500;120;5} agro_range=1200 org_hp=2235699 org_mp=24355 base_defend=3947 base_magic_attack=3859 base_magic_defend=2412 base_physical_attack=5148 physical_hit_modify=4.75 physical_avoid_modify=2.5 base_attack_speed=250 base_reuse_delay=0 base_critical=4 magic_use_speed_modify=0 status={normal} align=-4900 collision_radius=65 collision_height=174 category={} clan={} clan_help_range=350 guild={} pledge={} pledge_leader=0 alliance={} alliance_leader=0 ignore_clan_list={} ruler=0 ruling_domain={} npc_ai={[baium]} corpse_time=30 no_sleep_mode=0 npc_endcurrent skilldata: Code:
skill_begin skill_name = [s_baium_normal_attack] /* [baium_skill] */ skill_id = 4127 level = 1 operate_type = A1 magic_level = 80 effect = {{i_m_attack;500}} is_magic = 0 mp_consume2 = 50 cast_range = 120 effective_range = 150 skill_hit_time = 1.5 skill_cool_time = 0.7 skill_hit_cancel_time = 0.1 reuse_delay = 0 attribute = attr_none effect_point = -600 target_type = enemy_only affect_scope = range affect_range = 100 affect_object = not_friend next_action = none skill_endcurrent ai source : Code:
class baium2 : default_npcCode:
class baium : default_npc |
Bump!
|
hmm...
your code looks very confusing... maybe its cause of the board, i dont mind anyway... but it looks like there arent enough closing braces :? could you check that in your source file? |
I think this baium have a problem with summoning feature.... if i hit baium... and later i use buff on me... baium teleport me to him... this is great but... i go far ... use 3 gatekeepers... go to giran arena... and again buff me.... BAIUM TELEPORT ME TO TOI! :shock: ... it happens too if i use a npc buff... baium teleports npc to him... the only way to discard this is restarting. :D
|
lol go around and ask people to buff you :D
LOL LOL LOL |
if ppl buff me that person are teleported under baium
|
to somebody to worked to him or no?
|
Using this AI... and Soapy AI (https://postpacific.mmorpg-game.onli...er=asc&start=0)
with C3 Client i think he regenerate HP very fast... but... HP isn't the problem... with C4 client i can see if a monster level up.... MY BAIUM IS LEVEL UP every time i hit him... is imposible to kill... 5 players with 10000 P.Atk hit Baium... and every time he decrease HP 1/4 (maximum i can see)... he level up... and get FULL HP. I try to found the problem in AI but i can see where it is... im newbie in AI.. sorry. |
| All times are GMT. The time now is 22:55. |