PDA

View Full Version : [Share] HP Stacking Bug Fix


Meriik
04.02.2006, 08:37
We were getting tired of the HP stacking with the Tattoos and HP SA Weapons
that people were using to stack there hp higher. So...

We came up with this little idea to fix the problem

[php:1:5e0ae9fe7f]
skill_begin skill_name = [s_soulshot_d_grade] skill_id = 2150 level = 1 operate_type = A1 magic_level = 1 effect = {{i_soul_shot;100};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_soulshot_c_grade] skill_id = 2151 level = 1 operate_type = A1 magic_level = 1 effect = {{i_soul_shot;100};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_soulshot_b_grade] skill_id = 2152 level = 1 operate_type = A1 magic_level = 1 effect = {{i_soul_shot;100};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_soulshot_a_grade] skill_id = 2153 level = 1 operate_type = A1 magic_level = 1 effect = {{i_soul_shot;100};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_soulshot_s_grade] skill_id = 2154 level = 1 operate_type = A1 magic_level = 1 effect = {{i_soul_shot;100};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_spiritshot_d_grade] skill_id = 2155 level = 1 operate_type = A1 magic_level = 1 effect = {{i_spirit_shot;100;40};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_spiritshot_c_grade] skill_id = 2156 level = 1 operate_type = A1 magic_level = 1 effect = {{i_spirit_shot;100;40};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_spiritshot_b_grade] skill_id = 2157 level = 1 operate_type = A1 magic_level = 1 effect = {{i_spirit_shot;100;40};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_spiritshot_a_grade] skill_id = 2158 level = 1 operate_type = A1 magic_level = 1 effect = {{i_spirit_shot;100;40};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_spiritshot_s_grade] skill_id = 2159 level = 1 operate_type = A1 magic_level = 1 effect = {{i_spirit_shot;100;40};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 0 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_blessed_spiritshot_d_grade] skill_id = 2160 level = 1 operate_type = A1 magic_level = 1 effect = {{i_spirit_shot;300;40};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 100 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_blessed_spiritshot_c_grade] skill_id = 2161 level = 1 operate_type = A1 magic_level = 1 effect = {{i_spirit_shot;300;40};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 100 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_blessed_spiritshot_b_grade] skill_id = 2162 level = 1 operate_type = A1 magic_level = 1 effect = {{i_spirit_shot;300;40};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 100 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_blessed_spiritshot_a_grade] skill_id = 2163 level = 1 operate_type = A1 magic_level = 1 effect = {{i_spirit_shot;300;40};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 100 target_type = self affect_scope = single next_action = none skill_end
skill_begin skill_name = [s_blessed_spiritshot_s_grade] skill_id = 2164 level = 1 operate_type = A1 magic_level = 1 effect = {{i_spirit_shot;300;40};{i_hp;1;diff}} operate_cond = {} is_magic = 0 mp_consume2 = 0 cast_range = -1 effective_range = -1 skill_hit_time = 0 skill_cool_time = 0 skill_hit_cancel_time = 0 reuse_delay = 0 attribute = attr_none effect_point = 100 target_type = self affect_scope = single next_action = none skill_end [/php:1:5e0ae9fe7f]

This basicly just heals the person 1 hp once they use a soulshot/spiritshot
bringing thier stacked hp back to there base hp that it should be.
Its not enough hp to make a diffrence healing wise and its enough to
stop the people from stackin thier hp. {i_hp;1;diff} is the key :)


Just thought maybe someone else might be annoyed aswell.

Met45
04.02.2006, 10:14
that's a very nice idea...
thx for sharing it :)

Kenster
04.02.2006, 10:18
Good Idea, just wish it wasn't with a soulshot, that can be bugged quiet a bit.

Metalmurphy
04.02.2006, 11:56
Actually 1 HP every soulshot can be almost as a regeneration buff. It does make a diference. But good idea non the less.

Validator
04.02.2006, 12:34
It's really work?

top-gear
04.02.2006, 15:22
very nice!gratz

jencxxl
04.02.2006, 15:28
ever saw ppl switch weapon and spamming ss realy fast creating that awesome light show ... well you burn about 2k ss with b grade weapon in just a few min .. so that would mean you can heal your self for 2k hp in no time ... like some one said a realy nice regen buff :P i think you'll have to find another way.

Juiced
04.02.2006, 19:16
if only use skill's this doesnt work... (Th's Deadyblow.. mortalblow.. backstab..)

SoaPy
04.02.2006, 19:35
btw i think you can make a passive skill with a HP regen of 1HP every 2 min for example, is better than that i think.

khul
04.02.2006, 22:37
mmm about the 2k of SS ,,,,:
1-i think whoever does that, has mental issues.
2-you think they will notice that you heal 1 hp per ss use?...they might....they might not.

idea: how about giving {i_hp;0;diff} ? Wouldnt it give the same result ?

About gving regen skill :
Using p_hp_regen wont work.
If you use {i_hp;X;diff} ...how make it "not work" all the time ? Give rehuse_delay = 2 min or something like that?
Is rehuse_delay aplicable to pasive skills ? i believe t isnt...

Phantom2005
04.02.2006, 23:07
how about {t_hp;1;30} gives 1hp every 30 sec?
suppose if you add that to the tattoo's it would work fine.

djvogans
04.02.2006, 23:47
the ideea with a passive skill can work .

Meriik
05.02.2006, 03:40
passive sounds like a good idea..but it seems to be working fine the way it is on our server

Enishi
05.02.2006, 04:42
ever saw ppl switch weapon and spamming ss realy fast creating that awesome light show ... well you burn about 2k ss with b grade weapon in just a few min .. so that would mean you can heal your self for 2k hp in no time ... like some one said a realy nice regen buff :P i think you'll have to find another way.

They'd have to be pretty stupid to do that.
1)The cost of SSB
2)The time involved
3)You can buy a Healing Potion for 400a~ and get healed way faster.

jencxxl
05.02.2006, 08:56
depends on the server rate, can be done with any grade of shots (exceot ng)
along with healing potion siting down and doing this you get a preaty good regen rate, I have seen it be done another way on one server but i dont know exectly how he did it i'm sure it didnt have to do anything with shots, i would say a passive skill like some have said.

Mattho
05.02.2006, 13:49
u can have ng bow and a lot of ngss.. it's a little faster than healing potion.

What about solve this problem via healing potion implemented in weapon? I dunno if it will work, but some1 can try :) .
just add {t_hp;1;15} to every weapon. but i think problem will be with equiping weapon, cause it will add u one hp when u equip it :/

So better way will be passive skill or some1 could try {i_hp;0;diff}

Mattho
15.02.2006, 17:22
i thought that every SS will heal u (so bow 10hp and so)
now i know it's not, so it's a good idea.
BUT
Daggers r such a overpowered in pvp now. They won't hit till they lost stacked hp. So i think it's necessary add {i_hp;1;diff} to skills:
all blows, all shots (bows), sting and so...

iamrend
01.03.2006, 22:40
i tried to make a pasive skill with:

skill_begin skill_name=[s_antihpstack] /* [anti cheat skill] */ skill_id=15063 level=1 operate_type=P effect={{t_hp;1;60}} skill_end


but it dont work

i think with a pasive skill is not posible fix it.

ShinHawk
03.03.2006, 21:11
try something more like this


skill_begin skill_name=[s_hpskill] /* [Passive HP Skill] */ skill_id=12775 level=1 operate_type=P effect={{c_hp;-1;2}} skill_end

edit: btw this doesnt work as a passive skill, but you could probably add it to something like vicious stance, it would stop daggers from stacking it ...but its the way you would do it if was passive

deathz0r
22.03.2006, 14:47
the Soulsho, spiritshot heal works like wonders. however... daggers still benefit from it cuz they seldom use soulshots..
now...

what if we make blinding_bow, deadly_blow, backstab and mortal_blow skills
to also heal you for 1 hp, i think that could be it..

im currently making changes to test it out.
will post updates here.

Mattho
23.03.2006, 13:47
i said it month ago, but i wasn't sure if it will work, cause blows are strange :D

khul
24.03.2006, 21:37
tested and 2 things come out of this :
1- too much healing effect even if you use heal +1 ; heal-1.
2-BIG , and i mean BIG inestability generated cause of this.

There is nothing good to come out of this mod im afraid.

Mattho
24.03.2006, 22:53
instability? can you explain? :)

and too much effect? it's only +1hp per reload, not per SS

SlayerX
25.03.2006, 06:29
just add "{i_hp;1;diff}" to any set bonus or skill that gives HP

top-gear
26.03.2006, 11:01
what if we add 1 hp and we take 1 hp at the same time?:D

Mattho
26.03.2006, 22:24
not bad idea :)

khul
29.03.2006, 13:32
what if we add 1 hp and we take 1 hp at the same time?:D
i already sayd so be4 in this same thread, and i repeat : this is a stupid way to go , check it yourself. doesnt work and only creates problem , subject should be closed if you ask me.

just add "{i_hp;1;diff}" to any set bonus or skill that gives HP
if it would work would only work on players who wear a complete set.
Wich means just a part of comunity, and on the other hand : it doesnt work.

superkent
10.04.2006, 21:49
up.

Dart_Az0T
11.04.2006, 01:26
That must work ... but ...
1 SS regen 1 HP right ?
How much SS "eat" ... hmmm .. An Eminence Bow(Example) ? 10 !
That mean an archer will regen 10 HP by hit ...
But that's not all, when I worn Demon's Sword (Char TH 72) HP regen was 11-17 by hit ... Why ?
sory 4 ma bad english =))
Все бы хорошо, но тут бредятина... 1 СС регенит 1 НР, но Эмик-то потребляет 10 шотов за раз значит и регенить будет по 10 НР за выстрел. Другой бред: Беру ТХ 72 лвл в руку Демон Сворд и при каждом заряде Шота регенит мне по 11-17 НР. Не пойму, что за фигня...

Sire
11.04.2006, 02:15
A few ideas? Someone can run with them...

1.)
Item_skill on all armor, gloves, boots, etc. Active, self target, {t_hp;-1;diff};{t_hp;1;diff}. No animation. Everytime you switch armor, your hp fixes itself.

2.)
For PVE, add AI to see_creature. Check hp, if over max hp use skill on player. Skill would be a 1 hp heal or whatever like everyone has been saying.

3.)
Add area_skill. Like orfen's area slows you, except have it a heal over time. This way you can do the passive heal every 30 seconds to a minute or whatever. Downfall is it would use up a buff slot.

kgptzac
11.04.2006, 02:45
i think #2 is doable if you can implent that skill to every mob, that solves for PvE, but hp stack are mostly used in PvP situations :P

superkent
11.04.2006, 03:17
Need add to skill soulshot's {i_hp;0;diff}

Sire
11.04.2006, 03:28
I dont like the soulshot idea, sometimes players don't need soulshot or spiritshot.

As for using a skill, just give it to default_npc see_creature. And make sure that the classes inheriting it are calling super.

khul
11.04.2006, 12:59
Need add to skill soulshot's {i_hp;0;diff}

Even if such effect works , you ll end up having great insetability and also players will get system msg all the time "Rejuveneting HP" constantly. Very annoying system msg.
Giving pasive skill for all weapon such as sayd be4 might not be a bad idea...on theother hand ading skill to mobs would also generate
inestability.

Dart_Az0T
11.04.2006, 15:39
2khul
The way (superkent's) work wonerfully. Try and U will see that "Rejuveneting HP" is absent in general.

Короче фунциклируетЬ

Mattho
11.04.2006, 15:43
idea with weapons/armors .. you don't need switch armor/weapon when song of vit+btb dissapear^^

Metal
12.04.2006, 09:18
That is really needed. Tnx for share :).

Regards.

Metal

khul
12.04.2006, 19:17
2khul
The way (superkent's) work wonerfully. Try and U will see that "Rejuveneting HP" is absent in general.

Короче фунциклируетЬ

what about stability ? still having same uptime with this mod ? if you dont have much people online then stability would be always the same, but a lot of people using a lot of heal per hit = server crash.

Dart_Az0T
12.04.2006, 20:46
on-line 280-320 players. Works also stably as before.

vex
13.04.2006, 00:59
online 450-600
19-22hours uptime, the same as before

superkent
13.04.2006, 05:21
Instead of me answered Dart_Az0T

sub=zero
22.04.2006, 14:13
and why not try:

{i_hp;1;diff}{i_hp;-1;diff}}

?

P.S. i havent read all posts

Dart_Az0T
23.04.2006, 06:57
1) What 4 to load a server superfluous calculations: add, then take away НР in each SS charging?
2) In players chat, at each SS charge, will write "Rejuveneting HP".
And is better re-read posts =)