Few questions...
Heya, so I had a few questions...
1. Is there a way I can make spells do damage based off of your own HP? Example; Spell A does 190% of your HP, and how would I go about doing that? 1a. Second part to that, can I make that damage be multiplied by strength/stamina, etc? If so... how? Had some ideas for the scripts based off a potion script I have that restores 10% of your total hp, but I'm not sure where to go from there... Lol. |
Quote:
Quote:
Think spell script. Then: Code:
if ($client->IsClient()) { Quote:
Well that's slightly different then. You'd append a script to an item, with potion graphic, etc. But toy around with: Code:
$client->GetMaxHP() Code:
$client->HealDamage($client->GetMaxHP * 0.10); |
My hero <3.
Got a base script for a %dmg spell I could nab from ya and tweak with? |
Quote:
|
I'll pm you. =)
|
Based on your PM but showing here to keep around in case others are lurking it.
Code:
## Slash; Deals 10% of your hp to your target. (spell ID is 400). Code:
## Fireblast; Deals 10% of your mana to your target. (spell ID is 500). |
Pretty close,
Code:
## Slash; Deals 10% of your hp to your target. (spell ID is 400). |
All times are GMT -4. The time now is 01:25 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.