UOGamers Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

  • To obtain new Razor updates, please reinstall Razor from our new website.

[SVN] [gilgamash] Lightning Strike (Bushido)

Status
Not open for further replies.

Snakeye

Sorceror
[SVN] [gilgamash] Lightning Strike (Bushido)

Behaviour on Demise: I resently noticed, when i am in combat pvm or pvp while using my archer, I cast lightning strike and if I start moving around before it shoots the arrow, my mana starts dropping every step i take. This only happens after the first attack.
Behaviour on OSI: Not sure
Supporting Documentation: None
Changes Needed:
Code: None
 

Snakeye

Sorceror
Re: Lightning Strike (Bushido)

Can anyone please confirm if this is a bug, or if its only on my end. thx
 

das3

Sorceror
Re: [VALIDATION NEEDED] Lightning Strike (Bushido)

Seeing the same here (on Demise). Lightning strike seems to consume mana
for every step that you take before the actual swing. Can't find anything that hints that this is intentional/as OSI.

I've attached a RPV.
 

Attachments

  • Elizabeth_10-21_02.25.rpv
    2.3 KB · Views: 4

gilgamash

Knight
Re: [VALIDATION NEEDED] Lightning Strike (Bushido)

Hoi,

as soon as the status changes I will care about it...

G.
 

gilgamash

Knight
Re: [VALIDATION NEEDED] Lightning Strike (Bushido)

Hi again,

concerning moving between casting and hitting: can you also check when exactly the caster's mana is reduced on OSI: when HITTING or when CASTING? This is important for the following reason: If the mana is taken when hitting and not when casting, the caster might be hit by a mana drain or alike and on the moment of the hit a further mana check would be necessary.

Lemme know please,
G.
 

gilgamash

Knight
Re: [VALIDATION NEEDED] Lightning Strike (Bushido)

K, even if the status is still Validation I will post a patch here which everybody can check whether it matches OSI or not.

Testing will be done this evening on our TC.

G.
 

Attachments

  • LightningStrike.diff
    4.2 KB · Views: 7

gilgamash

Knight
Re: [VALIDATION NEEDED] Lightning Strike (Bushido)

for some strange reasons there were two lines including spaces.

'Corrected' now.
 

gilgamash

Knight
Re: [VALIDATION NEEDED] Lightning Strike (Bushido)

patch
 

Attachments

  • LightningStrike.diff
    4.1 KB · Views: 4

gilgamash

Knight
Re: [VALIDATION NEEDED] Lightning Strike (Bushido)

k, so we tested it and there is some work to be done on the mana drain or mana drop below zero while having LS active.

The thingy with the steps works so far: no mana loss.
I will have to test it in stealth mode though.

G.
 

gilgamash

Knight
Re: [IN DEVELOPMENT] Lightning Strike (Bushido)

K, got a new question:

What should be done if, while the caster runs around, the mana drops below the cost of 'LightningStrike'? Will it be automatically cancelled? Or will it remain active until mana is up again (which I can not imagine as it would basically contradict all theory of casting a spell without enough mana)?

Would be glad to get information abot this, esp. (once again) how it behaves on OSI.

Thks,
G.
 

Janki Boy

Wanderer
Re: [IN DEVELOPMENT] Lightning Strike (Bushido)

First I like to say I'm less than a week noob to this shard, and I like this shard very much.

In OSI,
You may activate LS.

LS stays on until;
You hit your target - upon hitting your target it will cost you 5 mana
If you miss your target - LS is still activated, but 5 mana does not get deducted.

LS stay lit even in hiding, stealth, walking, or running...until you hit your target.
LS will be unlit if you cast a any spell, or load up a special ability.
 

gilgamash

Knight
Re: [IN DEVELOPMENT] Lightning Strike (Bushido)

Hoi,

the question remains unanswered though: what happens if between casting and hitting the caster's mana drops below 5 and what happens on low mana on hit (when there was enough mana at the time of having cast the spell)?

Regards,
G.
 

Janki Boy

Wanderer
Re: [IN DEVELOPMENT] Lightning Strike (Bushido)

Ok, if I understand your question correctly.

If the caster initiates the LS and then gets hit will the Mana Drain of some sort, then the LS deactivates because it cannot support the 5 mana cost.

The caster will have to reinitiate the LS once the mana is available.
 

gilgamash

Knight
Re: [IN DEVELOPMENT] Lightning Strike (Bushido)

Salvete,

I finally got back my damaged computer and will continue on this now. Bod chances follow and afterward the familiars behaviour.

Greets,
G.
 

gilgamash

Knight
Re: [IN DEVELOPMENT] Lightning Strike (Bushido)

Salvete,

here is a diff for the spell, let's give it a shot.
What it is supposed to do:

1) Not lower mana when moving
2) Cancel the spell as soon as mana drops below the required amount (5 atm)

I hope the tabs are correct.

G.
 

Attachments

  • LightningStrike.diff
    2.1 KB · Views: 6

Athena

Account Terminated
Re: [TESTING] Lightning Strike (Bushido)

I get an error compiling this one, setting back to development.

Errors:
+ Spells/Bushido/LightningStrike.cs:
CS1003: Line 65: Syntax error, '(' expected
CS1026: Line 65: ) expected
 

gilgamash

Knight
Re: [IN DEVELOPMENT] Lightning Strike (Bushido)

Hehe,

looks like I posted the wrong version. I will send the correct one, soon :)

G.
 

gilgamash

Knight
Re: [IN DEVELOPMENT] Lightning Strike (Bushido)

Hm, funny thing. My version compiles problemlessly.

Well, however, there is another big problem: The point that, as soon as the mana drops below 5 (Requirement), the spell should be inactivated.

I need to implement a Timer, that remains as long as the buffer/spell is active. I am currently thinking about how to implement it. I think I definitely need information about the caster in the constructor of the spell, but that is a problem as well.

So, if you have any idea, you are welcome to let me know!

G.
 
Status
Not open for further replies.
Top