rhasce

Member
Hi all,

Im trying to have a mob(pet) use some Bushido moves, I manage to make him execute Confidence sucessfully using this line:

Code:
new Server.Spells.Bushido.Confidence( this, null ).Cast();


But when it comes to using lightningstrike using the same format I get this error:

'Server.Spells.Bushido.LightningStrike' does not contain a constructor that takes 2 arguments

Removing the parameters like this give me this error:
Code:
new Server.Spells.Bushido.Confidence().Cast();

Error:

'Server.Spells.Bushido.LightningStrike' does not contain a constructor that takes 2 arguments


And lastly doing this compiles fine, but nothing happens:

Code:
new Server.Spells.Bushido.Confidence();

When I say nothing happens I mean that the Mob does not cast LightningStrike, any ideas anyone experimented with this before?
 
Last edited:
LightningStrike it's ability, Confidence - it's spell
Code:
SamuraiMove.SetCurrentMove(yourMobile, new LightningStrike());
 
Interesting thank you very much, and I did see something like that somewhere hehe thanks a lot.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back